package com.caxxb.entity;

public class User {
   private int user_id;
   private String user_name;
   private String sex;
   private String account_number;
   private String password;
   private String  email;

    public User() {
    }

    public User(int user_id, String user_name, String sex, String account_number, String password, String email) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.sex = sex;
        this.account_number = account_number;
        this.password = password;
        this.email = email;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAccount_number() {
        return account_number;
    }

    public void setAccount_number(String account_number) {
        this.account_number = account_number;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", sex='" + sex + '\'' +
                ", account_number=" + account_number +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
